What is 7 guys in 6 rooms riddle?

The 7 guys in 6 rooms riddle is a classic logic puzzle that requires the solver to think about the different ways in which rooms and people can be arranged. The puzzle usually goes something like this:

Seven guys enter a hotel and are assigned rooms on one floor. There are six rooms on the floor, and each room can only accommodate one person. The guys are assigned to their rooms in a random order and go to sleep for the night. The next morning, it is discovered that two of the guys have changed rooms in the middle of the night. The puzzle then asks for the solver to figure out who changed rooms and in which rooms they slept.

The solution to the puzzle involves examining the different possible room arrangements and determining which ones allow for two guys to switch rooms without violating any of the constraints. The puzzle requires careful attention to detail and can be a challenging exercise in deduction and critical thinking.